package com.lejin.item.service;

import com.lejin.item.entity.CourseContents;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author luminghua
 * @since 2022-04-20
 */
public interface ICourseContentsService extends IService<CourseContents> {

    //根据课程大纲ID查询所属课程目录 以及课程目录对应的所有章节
    public List<CourseContents> findAllContentsAndChapterByOid(Integer oid);

}
